package com.vader.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author kaivader
 */
@Component
public class PaymentHystrixServiceFallbackImpl implements PaymentHystrixService {
    @Override
    public String ok(Integer id) {
        return "消费端ok异常，请稍后再试";
    }

    @Override
    public String timeOut(Integer id) {
        return "消费端timeout异常，请稍后再试";
    }
}
